package com.yzw.service;

import com.yzw.dto.DataGridResult;
import com.yzw.dto.QueryDTO;
import com.yzw.pojo.SysUser;
import com.yzw.utils.R;
import org.apache.poi.ss.usermodel.Workbook;

import java.util.List;

public interface SysUserService {
    public List<SysUser> findAll();

    public DataGridResult findUserByPage(QueryDTO queryDTO);

    public Workbook exportUser();

    public SysUser findByUsername(String username);

    R saveUser(SysUser sysUser);

    R deleteMenu(List<Long> ids);

    R findUserById(long userId);

    int update(SysUser sysUser);

    R password(String password, String newPassword);

    R selectByUserId(long userId);
}


